//
// Created by amir on 21.03.24.
//
#include <iostream>

#include "Time.h"


double Time::DeltaTime;
double Time::time;

void Time::initialization() {
    Time::time = glfwGetTime();
    Time::DeltaTime = glfwGetTime() - Time::time;
}


void Time::finallyzation() {
    std::cout << "Free memory Event system" << std::endl;
}


double Time::dt() {
    return Time::DeltaTime;
}


double Time::get_time() {
    return Time::time;
}


void Time::update() {
    Time::DeltaTime = glfwGetTime() - Time::time;
}
